import java.util.Scanner;

public class ZuoYeQi {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入第一个数");
        double a=input.nextDouble();
        System.out.println("请输入第二个数");
        double b=input.nextDouble();
        System.out.println("请输入第三个数");
        double c=input.nextDouble();
        double m;
        m=a>b?a:b;
        m=b>c?b:c;
        m=a>c?a:c;
        System.out.println(m);

 }
}
